import request from '@/utils/request'

export const getUserInfo = (userId) => {
    return request.get(`/sysUserInfo/getUserInfo/${userId}`)
}

export const updateUserInfo = (data) => {
    return request.post('/sysUserInfo/updateUserInfo', data)
}

export const searchUserByUserName = (userName) => {
    return request.get(`/sysUserInfo/searchUserByUserName/${userName}`)
}